package cn.edu.nsmc.config;

import java.util.HashMap;
import java.util.Map;

public interface Constant {
    //dev
   // String WorksheetTemplateFilepath = "E:\\flash\\";
   // String WorksheetTemplateFilepath = "C:\\Users\\lizhi\\Desktop\\Temp\\Temp\\files\\";
    String DEFAULT_PASSWORD = "Cbyxy@269.pas";
    String DEFAULT_PASSWORD_ADMIN = "NsmC.372@AdmPas";
    String DEFAULT_PASSWORD_Repair = "NsmC.128Wx@Pas";
    //test
//    String WorksheetTemplateFilepath = "/home/workspace/network/";
    //prod
    String WorksheetTemplateFilepath = "/root/workspace/java/demo/upload/";
//    String FILE_URL_PRE = "http://47.109.153.71:8080/sys/file/getFile?filename=";
    String FILE_URL_PRE = "https://networker.nsmc.edu.cn/sys/file/getFile?filename=";

    Map<String, Integer> TYPE_TO_INT=new HashMap<String, Integer>(){
        {
            put("管理员",1);
            put("职工",2);
            put("医护",3);
            put("学生",4);
            put("维修人员",5);
            put("教师",6);
        }
    };
    Map<Integer, String> INT_TO_TYPE=new HashMap<Integer, String>(){
        {

            put(1,"管理员");
            put(2,"职工");
            put(3,"医护");
            put(4,"学生");
            put(5,"维修人员");
            put(6,"教师");
        }
    };
    Map<Long, String> INT_TO_AUDIT_STATUS=new HashMap<Long, String>(){
        {
            put(0L,"等待处理");
            put(1L,"审批完成");
            put(2L,"处理完成");
            put(3L,"等待维修");
            put(4L,"维修业务结束");
            put(-1L,"审核失败");
            put(-2L,"维修处理异常");
        }
    };
    //pro
    //String WorksheetTemplateFilepath="/";
}
